package com.dong.abstractFactoryMode.service.factory;

import java.util.concurrent.TimeUnit;

/**
 * @author DongJiaQi
 * @create 2022/12/20 13:58
 * @Description: 适配接⼝
 */
public interface ICacheAdapter {
    String get(String key);
    void set(String key, String value);
    void set(String key, String value, long timeout, TimeUnit timeUnit);
    void del(String key);
}
